@include b(search-bar) {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  height: 100%;
  padding: 12px;

  @include e(top) {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 500;

    @include m(title) {
      display: flex;
      gap: 8px;
      align-items: center;
    }

    @include m(close) {
      font-size: 18px;
      cursor: pointer;
    }

    @include m(counter) {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: 18px;
      padding: 0 6px;
      font-size: 12px;
      white-space: nowrap;
      background-color: rgb(230 232 234 / 100%);
      border: 1px solid #fff;
      border-radius: 10px;
    }
  }

  @include e(header) {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    gap: 8px;
    width: 100%;

    @include m(title) {
      font-size: 18px;
    }
  }

  @include e(content) {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 8px;
    overflow: auto;
  }

  @include e(filter-node) {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;

    @include m(header) {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    @include m(remove) {
      cursor: pointer;
    }
  }

  @include e(footer) {
    flex-shrink: 0;
  }

  @include e(popover) {
    @include m(content) {
      display: flex;
      flex-direction: column;
      gap: 8px;
      height: 100%;
    }
    @include m(search) {
      flex-shrink: 0;
    }
    @include m(collapse) {
      flex-grow: 1;
      overflow: auto;
    }
    @include m(filter) {
      width: 100%;
    }
    @include m(filter-name) {
      flex-shrink: 0;
    }
  }

  @include e(filter-select) {
    @include m(item) {
      display: flex;
      align-items: center;
      justify-content: space-between;

      &:hover {
        .#{bem(search-bar, filter-select, remove)} {
          visibility: visible;
        }
      }
    }
    @include m(remove) {
      flex-shrink: 0;
      visibility: hidden;
    }
  }

  @include e(tabs) {
    .el-tabs__active-bar {
      display: none;
    }

    .el-tabs__nav {
      padding: 0 getCssVar(spacing, tight);
    }

    .el-tabs__nav-wrap {
      display: flex;
      align-items: center;

      &::after {
        display: none;
      }
    }

    .el-tabs__item {
      height: auto;
      padding: getCssVar(spacing, tight) getCssVar(spacing, extra, tight);

      &:hover {
        color: getCssVar(color, primary);
      }

      &.is-active {
        color: getCssVar(color, primary);
        .#{bem(search-bar, tab-item)} {
          border-bottom: 3px solid;
        }
      }
    }
  }

  @include e(tab-item) {
    display: flex;
    align-items: end;
    width: 126px;
    height: 90px;
    color: inherit;
    cursor: pointer;

    .el-card__body {
      display: flex;
      flex-direction: column;
      width: 100%;
    }

    @include m(counter) {
      display: inline;
      height: auto;
      padding: 0;
      font-size: getCssVar(font-size, header, 2);
      color: inherit;
    }

    @include m(caption) {
      padding: 0 4px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }
}
